define('/static/js/view/indexView', function ( require, exports, module ) {
    var handle = {
        'search': function () {
            location.hash = '#/search';
        }
        , 'jl': function () {
            location.hash = '#/job';
        }
        , 'zp': function () {
            location.hash = '#/resume';
        }
    };
    $('#nav').on('click', 'button', function () {
        var self = $(this);
        handle[this.id]();
    });
    return Backbone.View.extend({
        $: $
        , showPageById: function ( id ) {
            this.activeTab(id);
        }
        , activeTab: function (id) {
            this.$('#nav .active').removeClass('active');
            this.$(id).addClass('active');
        }
    });
});
